package com.niit.service.Impl;

import com.niit.dao.PaperDao;
import com.niit.model.StudentPaper;
import com.niit.model.StudentPaperQuestionAnswer;
import com.niit.service.PaperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaperServiceImpl implements PaperService {
    @Autowired
    private PaperDao paperDao;

    @Override
    public List<StudentPaper> selectStudentPaperId(Long id) {
        return paperDao.selectStudentPaperById(id);
    }

    @Override
    public List<StudentPaper> getList(StudentPaper studentPaper) {
        return paperDao.selectStudentPaperList(studentPaper);
    }
}
